﻿<%@ Page Language="C#" MasterPageFile="~/BasicBase/BasicBase.master" AutoEventWireup="true"
    CodeFile="KeyUnitView.aspx.cs" Inherits="BasicBase_KeyUnit_KeyUnitView" Title="重点单位概况统计表"
    StylesheetTheme="Content" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <table width="100%" class="intable" cellpadding="0" cellspacing="0">
            <caption>
                <span>
                    <asp:Literal ID="lblDepartment" runat="server" Text="Label"></asp:Literal>
                    [<a href="#" onclick="javascript:window.history.back();">返回</a>] </span>
            </caption>
            <tr>
                <td style="width: 15%">
                    法人代表：
                </td>
                <td style="width: 35%">
                    <asp:Label ID="lblFaRenDB" runat="server" Text=""></asp:Label>
                </td>
                <td style="width: 15%">
                    消防负责人：
                </td>
                <td style="width: 35%">
                    <asp:Label ID="lblXFFuZeRen" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    占地面积：
                </td>
                <td>
                    <asp:Label ID="lblZhanDiMJ" runat="server" Text=""></asp:Label>m<sup>2</sup>
                </td>
                <td>
                    建筑面积：
                </td>
                <td>
                    <asp:Label ID="lblJianZhuMJ" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    所有制形式：
                </td>
                <td>
                    <asp:Label ID="lblSuoYouZhi" runat="server" Text=""></asp:Label>
                </td>
                <td>
                    职工（机关）人数：
                </td>
                <td>
                    <asp:Label ID="lblZhiGongShu" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    固定资产：
                </td>
                <td>
                    <asp:Label ID="lblGuDingZCh" runat="server" Text=""></asp:Label>万元
                </td>
                <td>
                    年总产值：
                </td>
                <td>
                    <asp:Label ID="lblNianZChZh" runat="server" Text=""></asp:Label>万元
                </td>
            </tr>
            <tr>
                <td>
                    东邻：
                </td>
                <td>
                    <asp:Label ID="lblDong" runat="server"></asp:Label>
                </td>
                <td>
                    西邻：
                </td>
                <td>
                    <asp:Label ID="lblXi" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    南邻：
                </td>
                <td>
                    <asp:Label ID="lblNan" runat="server"></asp:Label>
                </td>
                <td>
                    北邻：
                </td>
                <td>
                    <asp:Label ID="lblBei" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    义务消防队人数：
                </td>
                <td>
                    <asp:Label ID="lblYiWu" runat="server"></asp:Label>
                </td>
                <td>
                    专职消防队人数：
                </td>
                <td>
                    <asp:Label ID="lblZhuanZhi" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    消防控制室位置：
                </td>
                <td colspan="3">
                    <asp:Label ID="lblZhiHuiShi" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView Caption="<span>消防车辆列表</span>" ID="gvFFVehicle" runat="server" AutoGenerateColumns="False"
        DataKeyNames="VehicleID">
        <RowStyle HorizontalAlign="Center" />
        <Columns>
            <asp:BoundField DataField="VehicleName" HeaderText="车辆类型" />
            <asp:BoundField DataField="Water" HeaderText="载水" />
            <asp:BoundField DataField="Foam" HeaderText="载泡沫" />
            <asp:BoundField DataField="DryPowder" HeaderText="载干粉" />
        </Columns>
        <RowStyle HorizontalAlign="Left" />
        <HeaderStyle HorizontalAlign="Left" />
    </asp:GridView>
    <asp:GridView ID="gvHydrants" Caption="<span>消火栓列表</span>" runat="server" AutoGenerateColumns="False"
        DataKeyNames="HydrantID">
        <RowStyle HorizontalAlign="Center" />
        <Columns>
            <asp:BoundField DataField="HydrantType" HeaderText="消火栓类型" />
            <asp:BoundField DataField="HydrantCount" HeaderText="数量" />
            <asp:BoundField DataField="Diameter" HeaderText="管径" />
            <asp:BoundField DataField="Pressure" HeaderText="压力" />
            <asp:BoundField DataField="Location" HeaderText="位置" />
        </Columns>
        <RowStyle HorizontalAlign="Left" />
        <HeaderStyle HorizontalAlign="Left" />
    </asp:GridView>
    <asp:GridView ID="gvEx" runat="server" AutoGenerateColumns="False" DataKeyNames="ExtinguishID"
        Caption="<span>灭火系统列表</span>">
        <RowStyle HorizontalAlign="Center" />
        <Columns>
            <asp:BoundField DataField="FacilityType" HeaderText="灭火系统" />
            <asp:BoundField DataField="Quantity" HeaderText="数量" />
            <asp:BoundField DataField="Location" HeaderText="分布" />
            <asp:BoundField DataField="ProtectiveScope" HeaderText="保护范围" />
            <asp:BoundField DataField="SupplyStrength" HeaderText="供给强度" />
            <asp:BoundField DataField="ServiceBehavior" HeaderText="工作性能" />
        </Columns>
        <RowStyle HorizontalAlign="Left" />
        <HeaderStyle HorizontalAlign="Left" />
    </asp:GridView>
    <asp:GridView ID="gvService" runat="server" AutoGenerateColumns="False" DataKeyNames="ServiceID"
        Caption="<span>灭火设施列表</span>">
        <RowStyle HorizontalAlign="Center" />
        <Columns>
            <asp:BoundField DataField="ServiceName" HeaderText="设施名称" />
            <asp:BoundField DataField="Quantity" HeaderText="数量" />
            <asp:BoundField DataField="Location" HeaderText="分布/形式" />
            <asp:BoundField DataField="Memo" HeaderText="备注/参数" />
        </Columns>
        <RowStyle HorizontalAlign="Left" />
        <HeaderStyle HorizontalAlign="Left" />
    </asp:GridView>
    <asp:GridView ID="gvOtherWater" runat="server" DataKeyNames="WSID" AutoGenerateColumns="False"
        Caption="<span>其他水源列表</span>">
        <Columns>
            <asp:BoundField DataField="Location" HeaderText="其他水源位置" />
            <asp:BoundField DataField="Type" HeaderText="利用水源性质" />
        </Columns>
        <RowStyle HorizontalAlign="Left" />
        <HeaderStyle HorizontalAlign="Left" />
    </asp:GridView>
    <table width="100%" cellpadding="0" cellspacing="0" class="intable">
        <caption>
            <span>重点部位统计列表</span>
        </caption>
    </table>
    <asp:Repeater ID="rpKeyPoint" runat="server">
        <ItemTemplate>
            <table cellpadding="0" cellspacing="4" width="100%" style="border: solid 1px #CEE7F7">
                <tr>
                    <td style="width: 20%;">
                        重点部位名称：
                    </td>
                    <td style="width: 30%">
                        <asp:Label ID="lblKeyPointName" runat="server" Text='<%#Eval("KeyPointName") %>'></asp:Label>
                    </td>
                    <td style="width: 20%;">
                        火灾危险性：
                    </td>
                    <td style="width: 30%;">
                        <asp:Label ID="lblHZWXX" runat="server" Text='<%#Eval("FireDanger") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        内部结构：
                    </td>
                    <td>
                        <asp:Label ID="lblNBJG" runat="server" Text='<%#Eval("InHouseStructure") %>'></asp:Label>
                    </td>
                    <td>
                        耐火等级：
                    </td>
                    <td>
                        <asp:Label ID="lblNHDJ" runat="server" Text='<%#Eval("FireResistanceRate") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        生产、储存物质性质、数量等情况：
                    </td>
                    <td colspan="3">
                        <asp:Literal ID="litInfo" runat="server" Text='<%#Eval("Substances") %>'></asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        四周情况：
                    </td>
                    <td colspan="3">
                        <asp:Literal ID="litZWQK" runat="server" Text='<%#Eval("Whole") %>'></asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        重点部位具体参数（层数、长、宽、高、面积、直径、容积、极限压力）：
                    </td>
                    <td colspan="3">
                        <asp:Literal ID="litParam" runat="server" Text='<%#Eval("Parms") %>'></asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td>
                        火灾特点与火灾预测：
                    </td>
                    <td colspan="3">
                        <asp:Literal ID="litTDYC" runat="server" Text='<%#Eval("FirePrediction") %>'></asp:Literal>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>
